package com.nmsl.medicine.mapper;

import java.util.List;
import com.nmsl.medicine.domain.MedicineStorageInRecord;

/**
 * 药品入库记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
public interface MedicineStorageInRecordMapper 
{
    /**
     * 查询药品入库记录
     * 
     * @param storageInId 药品入库记录主键
     * @return 药品入库记录
     */
    public MedicineStorageInRecord selectMedicineStorageInRecordByStorageInId(Long storageInId);

    /**
     * 查询药品入库记录列表
     * 
     * @param medicineStorageInRecord 药品入库记录
     * @return 药品入库记录集合
     */
    public List<MedicineStorageInRecord> selectMedicineStorageInRecordList(MedicineStorageInRecord medicineStorageInRecord);

    /**
     * 修改入库记录审核状态
     */
    public int updateReviewStatus(int id,String status);


    /**
     * 新增药品入库记录
     * 
     * @param medicineStorageInRecord 药品入库记录
     * @return 结果
     */
    public int insertMedicineStorageInRecord(MedicineStorageInRecord medicineStorageInRecord);

    /**
     * 修改药品入库记录
     * 
     * @param medicineStorageInRecord 药品入库记录
     * @return 结果
     */
    public int updateMedicineStorageInRecord(MedicineStorageInRecord medicineStorageInRecord);

    /**
     * 删除药品入库记录
     * 
     * @param storageInId 药品入库记录主键
     * @return 结果
     */
    public int deleteMedicineStorageInRecordByStorageInId(Long storageInId);

    /**
     * 批量删除药品入库记录
     * 
     * @param storageInIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMedicineStorageInRecordByStorageInIds(Long[] storageInIds);
}
